import request from '_c/utils/request'

export function homeData(data) {
  return request({
    url: '/api/ag/app/total/index/info',
    method: 'GET',
    params: data
  })
}
export function homeDataOne(data) {
  return request({
    url: '/api/ag/app/total/index/info/one',
    method: 'GET',
    params: data
  })
}
// 代理商月交易量统计
export function agentTradingList(data) {
  return request({
    url: '/api/ag/app/total/index/trx/mon',
    method: 'GET',
    params: data
  })
}

export function queryPageConfigure(data) {
  return request({
    url: '/system/sysPageConfigure/queryOne',
    method: 'GET',
    params: data
  })
}

// 获取省
export function getProvinceApi(data){
	return request.request({
		url:'/app/api/ag/term/customer/getProvince',
		method:'get',
		params:data
	})
}
// 获取市
export function getCityApi(data){
	return request.request({
		url:'/app/api/ag/term/customer/getCity',
		method:'get',
		params:data
	})
}
// 获取区
export function getAreaApi(data){
	return request.request({
		url:'/app/api/ag/term/customer/getArea',
		method:'get',
		params:data
	})
}
//  获取mcc列表
export function getMerchMcc(data){
	return request.request({
		url:'/app/api/ag/term/customer/getMerchMcc',
		method:'get',
		params:data
	})
}
//  获取mcc列表一级
export function getMerchMccLevel1(data){
	return request.request({
		url:'/app/api/ag/term/customer/getMerchMccLevel1',
		method:'get',
		params:data
	})
}
//  获取mcc列表二级
export function getMerchMccLevel2(data){
	return request.request({
		url:'/app/api/ag/term/customer/getMerchMccLevel2',
		method:'get',
		params:data
	})
}
